<ul class="nav" ng-show="list.active">
    <li> <a title="index" ui-sref="index" ng-class="{1:'active'}[list.active]">index</a></li>
    <li><a title="page" ui-sref="news" ng-class="{2:'active'}[list.active]">news</a></li>
    <li><a title="page" ui-sref="mine" ng-class="{3:'active'}[list.active]">mine</a></li>
</ul>
